import request from '@/utils/request'

export default {
  //1 查询所有账务
  getAllDetailed(page,limit){
    return request({
      url:`/zwservice/detailed/findAll/${page}/${limit}`,
      method:'get',
    })
  },
  //2 条件查询账务
  pageList(page,limit,detailedQuery){
    return request({
      url:`/zwservice/detailed/pageCondition/${page}/${limit}`,
      method:'post',
      data:detailedQuery
    })
  },
  //3 根据id删除账务
  removedetailed(id){
    return request({
      url:`/zwservice/detailed/delete/${id}`,
      method:'delete'
    })
  },
  //4 根据id查询备注
  getDescription(id){
    return request({
      url:`/zwservice/description/getDescription/${id}`,
      method:'get'
    })
  }
}
